{{- if (default true .Site.Params.searchBar) -}}
<form class="search-bar my-1" action="{{ absLangURL "search" }}">
  <div class="input-group input-group-sm">
    <span class="btn btn-search disabled position-absolute left-0"><i class="fas fa-fw fa-search"></i></span>
    <input class="form-control rounded-pill" name="q" type="search" aria-label="Search">
  </div>
</form>
{{- end -}}
